const {returnInfo} = require('../lib/utils'),
      {LGOIN} = require('../config/err_config');
module.exports = async(ctx,next)=>{
    if(ctx.session.userInfo){
        await next();
    }
}      